package com.myproject.filmrecommendationsys.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;


/**
 * 影视对象 film
 */
@Data
public class Film
{
    private static final long serialVersionUID = 1L;


    private Long id;
    private String name;
    private String type;
    private String description;
    private Date createdTime;
    private Date updatedTime;

    public Film(Long id, String name, String type, String description, Date createdTime, Date updatedTime) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.description = description;
        this.createdTime = createdTime;
        this.updatedTime = updatedTime;
    }
    public Film(){}

    @Override
    public String toString() {
        return "Film{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", type='" + type + '\'' +
                ", description='" + description + '\'' +
                ", createdTime=" + createdTime +
                ", updatedTime=" + updatedTime +
                '}';
    }
}
